Get the foreground color from 'text', nor 'base'. (#57568)
authorOwen Taylor <otaylor@redhat.com>
Wed, 18 Jul 2001 23:54:06 +0000 (23:54 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 18 Jul 2001 23:54:06 +0000 (23:54 +0000)
Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c (gtk_text_view_set_attributes_from_style):
Get the foreground color from 'text', nor 'base'. (#57568)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c

index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 1c8daeae69cdfd15779f08c2ff0cac07ea1a55a5..d3fe2970c2a2f2c9d93bb26ef96220b423e2bdba 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
+       Get the foreground color from 'text', nor 'base'. (#57568)
+
 Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/*.c: Patch from Matthias Clasen to remove remove
index 53ba578fc6d02357b343c023a372541d8abc36da..ce4a6493cfd426de3f90d4e371d0e9b79b23f77d 100644 (file)
@@ -4358,7 +4358,7 @@ gtk_text_view_set_attributes_from_style (GtkTextView        *text_view,
                                          GtkStyle           *style)
 {
   values->appearance.bg_color = style->base[GTK_STATE_NORMAL];
-  values->appearance.fg_color = style->fg[GTK_STATE_NORMAL];
+  values->appearance.fg_color = style->text[GTK_STATE_NORMAL];
 
   if (values->font.family_name)
     g_free (values->font.family_name);